<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script language="javascript1.5" type="text/javascript" src="../javascript/datetimepicker.js"></script>
<style>
.row1xS
 {  background: #E5ECF3;
    border: solid 0px grey;
    margin: no;
    padding: 1;
	padding-right: 1;
	font-size:14px;
	font-family: "Consolas";
	font-weight:normal;
	color:black;	
	text-align:left;
	height:30px;
  }
  .row2xS
 {  background: #FFFFFF;
    border: solid 0px grey;
    margin: no;
    padding: 1;
	padding-right: 1;
	font-size:14px;
	font-family: "Consolas";
	font-weight:normal;
	color:black;	
	text-align:left;
	height:30px;
  }
  .headerx  
 {  background: #A8BBCE;
    border: solid 0px grey;
    margin: no;
    padding: 0;
	padding-left: 1;
	font-size:13px;
	font-family:Consolas;
	font-weight:bold;
	color:#000000;	
	text-align:left;
	vertical-align:top;
	height:32px;
  }
  
</style>
<title>IBE: Add hotel Info</title>
</head>
<body topmargin = "20px" >
<center>
<s:form theme="simple" action="addHotelInfo" namespace="/hotelInfo">

<table  width='50%' style="border: 1px solid black;align:center" cellspacing=1 cellpadding=1>
<tr>
		<td class="row1xS" colspan=2 style='text-align:center'><b>Add Hotel Info </b></td>
</tr>
<tr>
		<td class='headerx' width='30%'>Id</td>
		<td class='row1xS' width='70%'><s:textfield name="hotelId"></s:textfield></td>
</tr>
 <tr>
		<td class='headerx'>Name</td>
		<td class='row1xS'><s:textfield name="name"></s:textfield></td>
</tr>
<tr>
		<td class='headerx'>Address</td>
		<td class='row1xS'><s:textfield name="address"></s:textfield></td>
</tr>
<tr>
		<td class='headerx'>Room Price</td>
		<td class='row1xS'><s:textfield name="price"></s:textfield></td>
</tr>
<tr class='row1xS'>
		<td style='text-align:center' colspan=2 >
			<s:submit cssClass="btn"  value=" Submit "></s:submit> &nbsp;&nbsp; <s:submit value=" Reset " cssClass="btn" ></s:submit>
		</td>
	</tr>
</table>
</s:form>		
<br/>
<s:form theme="simple" action="bookHotel" namespace="/hotelInfo">
<table  width='50%' style="border: 1px solid black;align:center" cellspacing=1 cellpadding=1>
<tr>
		<td class="row1xS" colspan=2 style='text-align:center'><b>Hotel Booking Form </b></td>
		
</tr>
<tr>
		<td class='headerx' width='30%'>Id</td>
		<td class='row1xS' width='70%'><s:textfield name="hotelId"></s:textfield></td>
</tr>
 <tr>
		<td class='headerx'>From Date</td>
		<td class='row1xS'><s:textfield name="fromDate" id="fromDate" maxlength="10"></s:textfield>
		<img src="../images/cal.gif" width="16" height="16" border="0" onclick="javascript:NewCssCal('fromDate','yyyyMMdd')" style="cursor:pointer"/>
</td>
</tr>
<tr>
		<td class='headerx'>To Date</td>
		<td class='row1xS'><s:textfield name="toDate" id="toDate" maxlength="10"></s:textfield>
		<img src="../images/cal.gif" width="16" height="16" border="0" onclick="javascript:NewCssCal('toDate','yyyyMMdd')" style="cursor:pointer"/>
</td>
</tr>
<tr>
		<td class='headerx'>No. Of Rooms</td>
		<td class='row1xS'><s:textfield name="roomCount"></s:textfield></td>
</tr>


<tr class='row1xS'>
		<td style='text-align:center' colspan=2 >
			<s:submit cssClass="btn"  value=" Submit " ></s:submit> &nbsp;&nbsp; <s:submit value=" Reset " cssClass="btn"></s:submit>
		</td>
	</tr>
	
</table>
</s:form>
</center>
</body>
</html>